package com.own.business.login.core.service;

import com.own.business.login.core.entity.form.LoginForm;
import com.own.business.system.account.entity.SystemAccount;

/**
 * LoginService
 *
 * @author chenxueli
 * @date 2023-06-21 15:53:50
 */
public interface LoginService {

    /**
     * 用户账号密码登录
     *
     * @param form 登录表单
     * @return 登录的用户id信息
     */
    Long loginUser(LoginForm form);

    /**
     * 获取账号信息
     *
     * @param content 账号信息
     * @return 账号信息
     */
    SystemAccount get(String content);

}
